#include <stdio.h>  
#define PI 3.1415926  
  
int main() {  
    int r, h;  
    if (scanf("%d%d", &r, &h))  
        printf("s=%.2f,v=%.2f\n", 2 * PI * r * h, PI * r * r * h);  
    return 0;  
} 